/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nus.application.web.conference.form;

import com.nus.application.web.base.form.BaseForm;
import com.nus.dataaccess.dao.conference.Conference;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author kenny
 */
public class ConferenceMaintenanceForm extends BaseForm{

    private List<Conference> conferences;
    public List<Conference> getConferences() {return conferences;}
    public void setConferences(List<Conference> conferences) {this.conferences = conferences;}

    private Conference conference;
    public Conference getConference() {return conference;}
    public void setConference(Conference conference) {this.conference = conference;}

    public ConferenceMaintenanceForm(){
        this.conferences = new ArrayList<Conference>();
        this.conference = new Conference();
    }

    @Override
    public List<Conference> getList() {return this.getConferences();}

}
